home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
kermit.columbia.edu
/
kermit.columbia.edu.tar
/
kermit.columbia.edu
/
newsgroups
/
misc.20000217-20000824
/
000286_news@columbia.edu _Mon May 8 12:37:21 2000.msg
< prev
next >
Wrap
Internet Message Format
|
2000-08-23
|
2KB
Return-Path: <news@columbia.edu>
Received: from watsun.cc.columbia.edu (watsun.cc.columbia.edu [128.59.39.2])
by monire.cc.columbia.edu (8.9.3/8.9.3) with ESMTP id MAA25979
for <kermit.misc@cpunix.cc.columbia.edu>; Mon, 8 May 2000 12:37:21 -0400 (EDT)
Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.59.30])
by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id MAA13609
for <kermit.misc@watsun.cc.columbia.edu>; Mon, 8 May 2000 12:37:21 -0400 (EDT)
Received: (from news@localhost)
by newsmaster.cc.columbia.edu (8.9.3/8.9.3) id MAA22130
for kermit.misc@watsun.cc.columbia.edu; Mon, 8 May 2000 12:30:32 -0400 (EDT)
X-Authentication-Warning: newsmaster.cc.columbia.edu: news set sender to <news> using -f
From: fdc@columbia.edu (Frank da Cruz)
Subject: Re: Control of RTS
Date: 8 May 2000 16:30:30 GMT
Organization: Columbia University
Message-ID: <8f6q36$ljf$1@newsmaster.cc.columbia.edu>
To: kermit.misc@columbia.edu
In article <3916E423.24345C73@rdel.co.uk>,
Martin Tharby Jones <martin.jones@rdel.co.uk> wrote:
: I need to be able to set the state of the Request To Send line on the
: serial port either from the kermit command prompt or via an external
: program. Using kermit I can monitor the state of some of the handshake
: lines on /dev/ttya but I do not know of any command to set the outputs.
:
: Carrier Detect (CD): Off/On (input)
: Clear To Send (CTS): Off/On (input)
: Data Terminal Ready (DTR): On (output)
: Dataset Ready (DSR): Off (input does not change)
: Request to Send (RTS): On (output)
: Ring Indicator (RI): Off (input does not change)
:
: C-Kermit>show versions
:
: Versions:
: C-Kermit 7.0.197, 8 Feb 2000
: Numeric: 700197
: Built for: SunOS 4.1
: Running on: SunOS 2 4.1.4 sun4m (SPARCclassic with Cycle Computer
:
Most versions of UNIX, including SunOS, don't have an API for
this (SunOS includes an "old" (4.2BSD) API for clearing and setting
DTR, but nothing for RTS). It would have to be done at the driver level.
In any case, even in the few cases where such APIs exist (as in HP-UX),
there is no feature in C-Kermit to take advantage of it.
- Frank